package com.ciko.code.http.Req;


import com.ciko.code.constant.Api;
import com.ciko.code.http.BaseRequest;
import com.ciko.code.http.Res.QryModuleContentListRes;

/**
 * Created by ciko on 2015/11/28.
 */
public class QryModuleContentListReq extends BaseRequest {

    public QryModuleContentListReq(long moduleId, long currentPublishTime, int length) {

        init();

        put("moduleId", String.valueOf(moduleId));
        put("currentPublishTime", String.valueOf(currentPublishTime));
        put("length", length);

        putCid(String.valueOf(moduleId) + String.valueOf(currentPublishTime) + length);

    }

    @Override
    public String getUrl() {
        return Api.qryModuleContentList;
    }

    @Override
    public Class<?> getResponseClazz() {
        return QryModuleContentListRes.class;
    }
}
